package com.gj.factoryclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Tangyunhen on 2021-06-24.
 */
@Data
public class FactoryClassAddVo {

    @NotBlank(message = "工厂编码不能为空")
    private String legalPlantCode;
    @NotBlank(message = "工厂描述不能为空")
    private String legalPlantDec;
    @NotNull(message = "状态不能为空")
    private Boolean enabled;
    @NotBlank(message = "法人编码不能为空")
    private String legalPersonCode;
    private String legalPersonName;
}
